package chexuan.game.interfaces.service;

import chexuan.game.constant.event.EnumEventType;
import chexuan.game.interfaces.common.InterfaceEventListener;
import chexuan.game.service.event.Event;

public interface InterfaceEventService extends InterfaceService {

	public void register(EnumEventType[] eventTypes,
			InterfaceEventListener eventListener);

	public void unregister(EnumEventType[] eventTypes,
			InterfaceEventListener eventListener);

	public void register(Object eventListenr);

	public void unregister(Object eventListener);

	public void broadcastEvent(Event broadcastEvent);

	public Object queryEvent(Event event);
}
